package com.powernode.param;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 搜索参数封装类
 */
@Data
public class ProductSearchParam {
    //搜索关键字
    private String keyword;
    //一级商品分类名称
    private String categoryNameLevel1;
    //二级商品分类名称
    private String categoryNameLevel2;
    //三级商品分类名称
    private String categoryNameLevel3;
    //搜索的最低价
    private BigDecimal lowPrice;
    //最高价
    private BigDecimal highPrice;
    //销量
    private String sales;
    //排序字段
    private String orderBy;
    //升序/降序
    private String direction;
    //当前页码
    private Integer current;
    //每页条数
    private Integer size;
}
